//============================================//
//  Linked List Example
//  by Drake Bissett - 2013
//  --------------------------
//  Simple demo of a linked list:
//  -Each node contains a pointer to the
//  next node in the series.
//  --------------------------
//  dsbissett@gmail.com
//  w32reverse@gmail.com
//============================================//
#ifndef LIST_H
#define LIST_H

class List
{
	public:
		List();
		void AddNode(int addData);
		void DeleteNode(int delData);
		void PrintList();

	private:
		typedef struct node
		{
			int data;
			node* Next;
		}* nodePtr;

		nodePtr head;
		nodePtr curr;
		nodePtr temp;
};
#endif